about ServerLimit and ThreadLimit
am 14.12.2009 11:00:31 von Tseveendorj Ochirlantuu--00504502f52d0673da047aad58ab
Content-Type: text/plain; charset=UTF-8
Hello,
On the documentation of Apache2.2
ServerLimit <../mod/mpm_common.html#serverlimit>is a hard limit on the
number of active child processes, and must be greater than or equal to the
MaxClients <../mod/mpm_common.html#maxclients> directive divided by the
ThreadsPerChild <../mod/mpm_common.html# threadsperchild> directive.
ThreadLimit <../mod/mpm_common.html#threadlimit> is a hard limit of the
number of server threads, and must be greater than or equal to the
ThreadsPerChild <../mod/mpm_common.html#threadsperchild> directive.
I did like above on worker MPM but server reached Max connection when 256th
connection come.
StartServers 5
MaxClients 350
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
ServerLimit 40
ThreadLimit 40
Is there something wrong in my configuration ?
Regards,
Tseveen.
--00504502f52d0673da047aad58ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hello,
ght: 18px; ">
ew', Courier, monospace; font-size: 1em; color: rgb(40, 127, 0); backgr=ound-color: inherit; "> " style=3D"color: rgb(40, 127, 0); background-color: inherit; ">ServerL=
imit is a hard limit on the number of active child processe=
s, and must be greater than or equal to theÂ
style=3D"font-family: 'Courier New', Courier, monospace; font-size:=1em; color: rgb(40, 127, 0); background-color: inherit; "> d/mpm_common.html#maxclients" style=3D"color: rgb(40, 127, 0); background-c=
olor: inherit; ">MaxClients directive divided by the <=
code class=3D"directive" style=3D"font-family: 'Courier New', Couri=
er, monospace; font-size: 1em; color: rgb(40, 127, 0); background-color: in=
herit; "> threadsperchild" style=3D"color: rgb(40, 127, 0); background-color: inh=
erit; ">ThreadsPerChild directive.Â
ctive" style=3D"font-family: 'Courier New', Courier, monospace; fon=t-size: 1em; color: rgb(40, 127, 0); background-color: inherit; "> =3D"../mod/mpm_common.html#threadlimit" style=3D"color: rgb(40, 127, 0); ba=
ckground-color: inherit; ">ThreadLimit is a hard limit of t=
he number of server threads, and must be greater than or equal to the =
ier, monospace; font-size: 1em; color: rgb(40, 127, 0); background-color: i=nherit; "> : rgb(40, 127, 0); background-color: inherit; ">ThreadsPerChild=
 directive.
">
n 256th connection come.
<=
/font>
<IfModule mpm_worker_module>
s        5
 MaxClients        350
   MaxSpareThreads    75
  ThreadsPerChild     25
 ServerLimit        40
=A0 Â 40
re something wrong in my configuration ?
<=
/font>
Regards,
--00504502f52d0673da047aad58ab--